Woocommerce\Pagarme\Model\Config A

Total Complexity 75
Dependencies 10
Dependents 37
Total lines 397
Lines of code 227
Logical lines of code 87
Comment lines 66
Methods 46
Properties 1

Methods 46

Method Rating Maintainability Complexity Lines of code
getTdsMinAmount()
S
59 5 15
updateOption()
S
62 5 11
init()
S
61 4 12
isAnyCreditCardMethodEnabled()
S
74 3 5
getIsSandboxMode()
S
69 3 6
getSecretKey()
S
68 3 7
getPublicKey()
S
68 3 7
getIsVoucherPSP()
S
75 2 4
getIsInstallmentsDefaultConfig()
S
70 2 6
getCcFlags()
S
69 2 7
getCardOperationForCore()
S
78 2 3
getDashUrl()
S
65 2 10
isAccAndMerchSaved()
S
79 2 3
updateGooglepayAccountId()
S
68 2 7
isAnyBilletMethodEnabled()
S
77 2 4
getHubUrl()
S
79 2 3
save()
S
69 2 7
isVoucherEnabled()
S
80 1 3
isTdsEnabled()
S
80 1 3
isTwoCreditCardEnabled()
S
80 1 3
availablePaymentMethods()
S
67 1 8
log()
S
80 1 3
isCreditCardEnabled()
S
80 1 3
isBilletAndCreditCardEnabled()
S
80 1 3
isBilletEnabled()
S
80 1 3
isPixEnabled()
S
80 1 3
getAntifraudEnabled()
S
80 1 3
getInstallmentType()
S
80 1 3
__construct()
S
72 1 5
getAllowNoAddress()
S
80 1 3
getIsGatewayIntegrationType()
S
80 1 3
getEnableLogs()
S
80 1 3
getVoucherCardWallet()
S
80 1 3
getCcAllowSave()
S
80 1 3
getModifyAddress()
S
80 1 3
getMulticustomers()
S
80 1 3
setAccountId()
S
76 1 4
getHubInstallToken()
S
69 1 7
getHubViewIntegrationUrl()
S
70 1 7
getHubParamsUrl()
S
70 1 7
getHubBaseUrl()
S
73 1 6
getHubIntegrateUrl()
S
80 1 3
getHubAppId()
S
81 1 3
getOptionKey()
S
80 1 3
getOptions()
S
80 1 3
isEnabled()
S
79 1 3